package com.example.bean;

import com.example.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @author lbq
 * @version 1.0
 * @date 2021/3/2 0:01
 */
@Component
public class ConsumerComponent {
    @Reference
    private HelloService helloService;

    public String methodA(int mills) {
        return helloService.methodA(mills);
    }

    public String methodB(int mills) {
        return helloService.methodB(mills);
    }

    public String methodC(int mills) {
        return helloService.methodC(mills);
    }
}
